package com.qxzn.app.bean;

import java.util.List;

public class MedicineRemindBean {
    /**
     * code : 200
     * msg : 查询成功
     * data : {"result":[{"id":37,"username":"hsq1","time":1558939887593,"title":"undefined","type":0,"ringtone":"","typevalue":"1","medicinetime":"14:24","state":1,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","resultdetails":[{"id":13,"drugname":"馍馍","url":"","number":1,"medid":37}]}],"current_page":"1","sum":1}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * result : [{"id":37,"username":"hsq1","time":1558939887593,"title":"undefined","type":0,"ringtone":"","typevalue":"1","medicinetime":"14:24","state":1,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","resultdetails":[{"id":13,"drugname":"馍馍","url":"","number":1,"medid":37}]}]
         * current_page : 1
         * sum : 1
         */

        private String current_page;
        private int sum;
        private List<ResultBean> result;

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public int getSum() {
            return sum;
        }

        public void setSum(int sum) {
            this.sum = sum;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * id : 37
             * username : hsq1
             * time : 1558939887593
             * title : undefined
             * type : 0
             * ringtone :
             * typevalue : 1
             * medicinetime : 14:24
             * state : 1
             * device_id : 9ac019acab486ad7db721f2b6f1b94a8
             * resultdetails : [{"id":13,"drugname":"馍馍","url":"","number":1,"medid":37}]
             */

            private String id;
            private String username;
            private long time;
            private String title;
            private int type;
            private String ringtone;
            private String typevalue;
            private String medicinetime;
            private int state;
            private String device_id;
            private List<ResultdetailsBean> resultdetails;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getRingtone() {
                return ringtone;
            }

            public void setRingtone(String ringtone) {
                this.ringtone = ringtone;
            }

            public String getTypevalue() {
                return typevalue;
            }

            public void setTypevalue(String typevalue) {
                this.typevalue = typevalue;
            }

            public String getMedicinetime() {
                return medicinetime;
            }

            public void setMedicinetime(String medicinetime) {
                this.medicinetime = medicinetime;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getDevice_id() {
                return device_id;
            }

            public void setDevice_id(String device_id) {
                this.device_id = device_id;
            }

            public List<ResultdetailsBean> getResultdetails() {
                return resultdetails;
            }

            public void setResultdetails(List<ResultdetailsBean> resultdetails) {
                this.resultdetails = resultdetails;
            }

            public static class ResultdetailsBean {
                /**
                 * id : 13
                 * drugname : 馍馍
                 * url :
                 * number : 1
                 * medid : 37
                 */

                private int id;
                private String drugname;
                private String url;
                private int number;
                private int medid;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getDrugname() {
                    return drugname;
                }

                public void setDrugname(String drugname) {
                    this.drugname = drugname;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public int getNumber() {
                    return number;
                }

                public void setNumber(int number) {
                    this.number = number;
                }

                public int getMedid() {
                    return medid;
                }

                public void setMedid(int medid) {
                    this.medid = medid;
                }
            }
        }
    }
}
